home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / regexp / regerror.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-04  |  170 b   |  15 lines

  1. #include <stdio.h>
  2.  
  3. void
  4. regerror(s)
  5. char *s;
  6. {
  7. #ifdef ERRAVAIL
  8.     error("regexp: %s", s);
  9. #else
  10.     fprintf(stderr, "regexp(3): %s", s);
  11.     exit(1);
  12. #endif
  13.     /* NOTREACHED */
  14. }
  15.